package com.yc.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yc.common.core.domain.entity.SysRole;
import com.yc.common.core.domain.entity.SysUser;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * @Author YanChen
 * @Date 2025/4/17 2:14
 **/
@Repository
public interface SysRoleMapper extends BaseMapper<SysRole> {


    // 查询角色信息
    @Select("SELECT * FROM sys_role WHERE id = #{roleId}")
    SysRole selectByPrimaryKey(Long roleId);
}
